All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.qd.GDevice

java.lang.Object
   |
   +----quicktime.QTObject
           |
           +----quicktime.util.QTHandleRef
                   |
                   +----quicktime.qd.GDevice

public final class GDevice
extends QTHandleRef
implements QuickTimeLib
Refer to GDevice in QuickDraw


Method Index

 o fromSequenceGrabber(SequenceGrabber)
Returns the current device of the sequence grabber.
 o get()
Returns the current graphic device.
 o getBounds()
Returns the global Bounds associated with this gDevice
 o getList()
Returns the first graphic device in the device list.
 o getMain()
Returns the graphic device for the main screen.
 o getMax(QDRect)
Returns the graphic device with the greatest pixel depth.
 o getNext()
Returns the graphic device that is the next device from this in the device list.
 o getPixMap()
Returns the PixMap associated with this gDevice
 o init(int, int)
Initialises the instance of the Graphics Device.
 o set()
Sets this GDevice as the current device.
 o setAttribute(int, boolean)
Set the attributes of a graphics device.
 o testAttribute(int)
Determines whether the flag bit for an attribute has been set in the flags field of the device.

Methods

 o fromSequenceGrabber
 public static GDevice fromSequenceGrabber(SequenceGrabber sg) throws StdQTException
Returns the current device of the sequence grabber.

QuickTime::SGGetGWorld

Parameters:
sg - the SequenceGrabber object
Returns:
The current device of the sequence grabber.
See Also:
getGWorldDevice
 o get
 public static GDevice get()
Returns the current graphic device.

QuickDraw::GetGDevice

Returns:
a graphics device
 o getList
 public static GDevice getList()
Returns the first graphic device in the device list.

QuickDraw::GetDeviceList

Returns:
a graphics device
 o getMain
 public static GDevice getMain()
Returns the graphic device for the main screen.

QuickDraw::GetMainDevice

Returns:
a graphics device
 o getMax
 public static GDevice getMax(QDRect globalRect)
Returns the graphic device with the greatest pixel depth.

QuickDraw::GetMaxDevice

Parameters:
globalRect - a rectangle in global coordinates that intersects the devices you are searching
Returns:
a graphics device
 o init
 public void init(int qdRefNum,
                  int mode)
Initialises the instance of the Graphics Device. If the device has a driver then the attributes will be set by this call, if not the attributes should be set with setAttributes as this call will do nothing. You should never need to call this method directly.

QuickDraw::InitGDevice

Parameters:
the - reference number of this GDevice
mode - the device configuration mode
 o setAttribute
 public void setAttribute(int attribute,
                          boolean value)
Set the attributes of a graphics device.

QuickDraw::SetDeviceAttribute

Parameters:
attribute - use the constants
value - if true attribute is turned on
 o set
 public void set()
Sets this GDevice as the current device.

QuickDraw::SetGDevice

 o getNext
 public GDevice getNext()
Returns the graphic device that is the next device from this in the device list.

QuickDraw::GetNextDevice

Returns:
a graphics device
 o testAttribute
 public boolean testAttribute(int attribute)
Determines whether the flag bit for an attribute has been set in the flags field of the device.

QuickDraw::TestDeviceAttribute

Parameters:
attribute - the attribute to test for
Returns:
true if the attribute is set otherwise false.
 o getPixMap
 public PixMap getPixMap()
Returns the PixMap associated with this gDevice

Returns:
a PixMap for the GDevice
 o getBounds
 public QDRect getBounds()
Returns the global Bounds associated with this gDevice

Returns:
a QDRect

All Packages  Class Hierarchy  This Package  Previous  Next  Index